import {createStore,applyMiddleware} from 'redux'

import thunk from 'redux-thunk'//redux-thunk 专门用来实现异步操作
import reducer from './reducers'

const store=createStore(reducer,applyMiddleware(thunk))

export default store